package com.csxy.jqr.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

// 临时实体类，用于模糊查询
@Schema(description = "Teacher查询对象")
@Data
public class TeacherQuery implements Serializable {
    @Schema(description = "讲师名称，模糊查询")
    private String name;
    @Schema(description = "头衔 1高级讲师 2首席讲师")
    private Integer level;
    @Schema(description = "查询开始时间", example = "2019-01-01 8:00:00")
    private String begin;   //注意，这里使用的是string类型，前端传过来的数据无需进行类型转换
    @Schema(description = "查询结束时间", example = "2019-01-01 8:00:00")
    private String end;
}
